//
//  BITableViewCell.m
//  BIProjectModule
//
//  Created by Yown on 2024/1/25.
//

#import "BITableViewCell.h"

@implementation BITableViewCell

#pragma mark - Life Cycle

- (instancetype)init {
    self = [super init];
    if (self) {
        [self bi_setupCommonConfig];
    }
    return self;
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self bi_setupCommonConfig];
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    [self bi_setupCommonConfig];
}

#pragma mark - Public Method

+ (NSString *)cellIdentifier {
    return [NSString stringWithFormat:@"%@_cellIdentifier", NSStringFromClass(self)];
}

+ (CGFloat)cellHeight {
    return 44;
}

+ (CGFloat)cellHeigtWithModel:(id)Model {
    return 44;
}

#pragma mark - Private Method

- (void)bi_setupCommonConfig {
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}


@end
